package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.OaOther;

/**
 * 采购Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-11
 */
public interface OaOtherMapper
{
    /**
     * 查询采购
     *
     * @param id 采购主键
     * @return 采购
     */
    public OaOther selectOaOtherById(Long id);

    /**
     * 查询采购列表
     *
     * @param oaOther 采购
     * @return 采购集合
     */
    public List<OaOther> selectOaOtherList(OaOther oaOther);
    public List<OaOther> selectOaOtherList2(OaOther oaOther);
    /**
     * 新增采购
     *
     * @param oaOther 采购
     * @return 结果
     */
    public int insertOaOther(OaOther oaOther);

    /**
     * 修改采购
     *
     * @param oaOther 采购
     * @return 结果
     */
    public int updateOaOther(OaOther oaOther);

    /**
     * 删除采购
     *
     * @param id 采购主键
     * @return 结果
     */
    public int deleteOaOtherById(Long id);

    /**
     * 批量删除采购
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOaOtherByIds(Long[] ids);

    void delete(Integer id);
}
